package com.rightsidetech.system.service;

import com.rightsidetech.commom.base.ResponseData;
import com.rightsidetech.commom.service.IService;
import com.rightsidetech.system.dtos.request.LoginAdminReq;
import com.rightsidetech.system.dtos.request.UpdatePasswordReq;
import com.rightsidetech.system.dtos.response.LoginResp;
import com.rightsidetech.system.entity.SysUserLoginInfo;

/**
 * @Author: yhr
 * @Date: 2021-10-21 16:16
 */
public interface SysLoginService extends IService<SysUserLoginInfo,String> {
    ResponseData<LoginResp> login(LoginAdminReq loginReq, String ip);

    ResponseData logout(String token);

    ResponseData updatePwd(UpdatePasswordReq req);
}
